package com.unlcn.ils.wms.backend.bo.sys;

import cn.huiyunche.commons.domain.PageVo;

import java.util.List;

/**
 * @Auther linbao
 * @Date 2017-10-12
 */
public class SysUserBO extends PageVo {

    private Integer id;

    /**
     * 账户
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 名字
     */
    private String name;

    /**
     * 性别
     */
    private Byte gender;

    /**
     * 岗位
     */
    private String job;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 手机
     */
    private String mobile;

    /**
     * 类型
     */
    private Byte type;

    /**
     * 是否可用
     */
    private String enable;

    /**
     * 所属仓库
     */
    private Long warehouseId;

    /**
     * 所属仓库code
     */
    private String warehouseCode;

    /**
     * 角色
     */
    private List<Integer> roleIdList;

    /**
     * 当前登录用户
     */
    private String currenUser;

    /**
     * 用户id集合
     */
    private List<Integer> userIdList;

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public List<Integer> getUserIdList() {
        return userIdList;
    }

    public void setUserIdList(List<Integer> userIdList) {
        this.userIdList = userIdList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Byte getGender() {
        return gender;
    }

    public void setGender(Byte gender) {
        this.gender = gender;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }


    public List<Integer> getRoleIdList() {
        return roleIdList;
    }

    public void setRoleIdList(List<Integer> roleIdList) {
        this.roleIdList = roleIdList;
    }

    public String getCurrenUser() {
        return currenUser;
    }

    public void setCurrenUser(String currenUser) {
        this.currenUser = currenUser;
    }

    @Override
    public String toString() {
        return "SysUserBO{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", gender=" + gender +
                ", job='" + job + '\'' +
                ", email='" + email + '\'' +
                ", mobile='" + mobile + '\'' +
                ", type=" + type +
                ", enable='" + enable + '\'' +
                ", warehouseId=" + warehouseId +
                ", warehouseCode='" + warehouseCode + '\'' +
                ", roleIdList=" + roleIdList +
                ", currenUser='" + currenUser + '\'' +
                ", userIdList=" + userIdList +
                '}';
    }
}
